<template>
    <div class="searcher">
      <el-input class="inline-input searchInput" :placeholder="holder"></el-input>

      <div class="searchBtn"><i class="iconfont icon-sousuo font10 marginr3"></i>搜索</div>
    </div>
</template>

<script type="text/ecmascript-6">
export default {
  props: {
    holder: String
  },
  data () {
    return {}
  }
}
</script>

<style lang="less">
  .searcher {
    padding: 5px 10px;
    display: flex;
  }
  .el-input__inner {
    display: flex;
    flex: 1;
    background-color: #f7f7f7;
    border-radius: 25px;
    padding: 5px 15px;
    border-width: 0;
  }
  .searchBtn {
    flex: 0 0 80px;
    width: 80px;
    height: 35px;
    line-height: 35px;
    margin-left: 8px;
    background-color: #6AA7E3;
    color: #fff;
    font-size: 10px;
    text-align: center;
  }
</style>
